home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
VideoFolder 1.0a
/
Source
/
SequenceGrabberPane.h
< prev
next >
Wrap
Text File
|
1996-06-21
|
1KB
|
53 lines
#include <QuickTimeComponents.h>
#include <LPane.h>
#include <LPeriodical.h>
#include <LView.h>
class SequenceGrabberPane : public LView, LPeriodical {
public:
enum { class_ID = 'Grab' };
static SequenceGrabberPane* CreateSequenceGrabberPaneStream(LStream *inStream);
SequenceGrabberPane();
SequenceGrabberPane(const SequenceGrabberPane &inOriginal);
// SequenceGrabberPane(const SSequenceGrabberPaneInfo &inSequenceGrabberPaneInfo);
SequenceGrabberPane(LStream *inStream);
virtual ~SequenceGrabberPane();
virtual void DoSetupDialog ( );
virtual void DrawSelf ( );
virtual void FinishCreate();
virtual void Grab ( );
virtual void ResizeFrameBy(Int16 inWidthDelta, Int16 inHeightDelta,
Boolean inRefresh);
virtual void SetLiveUpdate ( Boolean newValue );
virtual void SpendTime( const EventRecord &inMacEvent);
Handle GetConfiguration () const;
void SetConfiguration ( Handle h );
protected:
void InitializeSequenceGrabber ( );
void SetUpdateDirectToScreen ( );
Boolean fQuickTime, fSequenceGrabber;
LGWorld* mGWorld;
// GWorldPtr fOffscreenWorld;
// PixMapHandle fOffscreenPixMap;
// Rect fOffscreenRect;
Rect mSourceVideoBounds;
SeqGrabComponent fSequenceGrabberComponent;
SGChannel fVideoChannel;
Boolean mLiveUpdate;
};